


        Vue.component('v-footer',{
            template:`<footer>
           
            
        </footer>`,
            data:function(){
                return{
                  webBasicInf:{},
                  nav:[],
                }
            },
            created:function(){
                //获取网站基本信息
                axios.get(dataUrl + 'api/getWebsite',{
                    headers:{
                    Authorization: headers
                    }
                })
                .then((res) => {
                    console.log(res.data.data);
                    this.webBasicInf = res.data.data;
                })

                //nav
                axios.get(dataUrl + 'api/getNavbar',{
                    headers:{
                        Authorization: headers
                    }
                }).then((res) => {
                    //console.log(res.data.data);
                    this.nav = res.data.data;
                })
            }
        });